const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

  name: state => state.user.name,
  userInfo: state => state.user.userInfo,


  systemList: state => state.systemPermission.systemList,
  allSystemList: state => state.systemPermission.allSystemList,
  activeSystem: state => state.systemPermission.activeSystem,
  chosenSystemList: state => state.systemPermission.chosenSystemList,


  curRouteInfo: state => state.curRouteInfo.curRouteInfo, // 当前路由信息

  tableHeight: state => state.otherSetting.tableHeight,//表格动态设置高度
  leftTreeWidth: state => state.otherSetting.leftTreeWidth,//左侧树width

  versionList: state => state.versionList.versionList,
  versionInfo: state => state.versionList.versionInfo,
}
export default getters
